package com.steak.dynamic.event;

import lombok.Getter;
import lombok.Setter;
import org.springframework.context.ApplicationEvent;

/**
 * @author 刘牌
 * @Title:
 * @date 2022-04-2318:58
 */
@Getter
@Setter
public class OrderEvent<T> extends ApplicationEvent {

    private OrderDTO orderDTO;

    public OrderEvent(Object source, OrderDTO orderDTO) {
        super(source);
        this.orderDTO = orderDTO;
    }
}
